//
//  WLToastView.h
//  VPNLinker
//
//  Created by 吴磊 on 2025/5/15.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, ToastPosition) {
    ToastPositionTop,
    ToastPositionCenter,
    ToastPositionBottom
};
@interface WLToastView : UIView
+ (void)showToast:(NSString *)message;
+ (void)showToast:(NSString *)message duration:(NSTimeInterval)duration;
+ (void)showToast:(NSString *)message duration:(NSTimeInterval)duration position:(ToastPosition)position;
+ (void)showToast:(NSString *)message duration:(NSTimeInterval)duration position:(ToastPosition)position style:(nullable NSDictionary *)style;

@end

NS_ASSUME_NONNULL_END
